/**
 * Author: w景洋.
 * Time: 2016/7/6 0006
 */
angular.module('module.coupon', [
    'ngStorage',
    'service.coupon',
    'filter.coupon'
])

    .config(['$stateProvider', '$urlRouterProvider',
        function ($stateProvider, $urlRouterProvider) {
            $stateProvider
                .state('botMenu.coupon', {
                    url: '/coupon',
                    templateUrl: coupon_viewurl + '/coupon.html',
                    controller: 'CouponListController',
                    controllerAs: 'vm'
                })
                .state('coupon', {
                    url: '/coupon2',
                    templateUrl: coupon_viewurl + '/coupon.html',
                    controller: 'CouponListController',
                    controllerAs: 'vm'
                })
                .state('receivecoupon', {
                    url: '/receivecoupon',
                    templateUrl: coupon_viewurl + '/receivecoupon.html',
                    controller: 'ReceiveCouponController',
                    controllerAs: 'vm'
                })

        }])
;
